"""
Grave! Important! Важно!

Proletoj el ĉiuj landoj, unuiĝu!
Workers of the world, unite!
Пролетарии всех стран, соединяйтесь!

https://tkom.pro
"""

from django.test import TestCase, Client
from main.models import *
from django.utils import timezone
import datetime


# class HomoModelTest(TestCase):
#     def setUp(self):
#         Homo.objects.create(
#             first_name="ivan",
#             last_name="ivanov",
#             email="ivan@tehnokom.su",
#             password="ivan_ivanov",
#             phone="+79999999999",
#             country="russia"
#         )
#
#     def test_date_of_birth_with_future_date(self):
#         date = timezone.now() + datetime.timedelta(days=30)
#         ivan = Homo.objects.get(email="ivan@tehnokom.su")
#         ivan.objects.update(date_of_birth=date)
#         # print(Homo_with_future_date_of_birth)
#         # self.assertIsNone(Homo_with_future_date_of_birth)


# class WebPageTest(TestCase):
#     def setUp(self):
#         self.client = Client()

#     def test_details(self):
#         response = self.client.get('/')
#         self.assertEqual(response.status_code, 200)

